<div class="main-title main-title-with-tabs clearfix">
    <h1>Module: Accounting</h1>
    <div class="main-title-tabs">
        <?php
        $this->widget('zii.widgets.CMenu', array(
            'id' => 'admin-agency-menu',
            'items' => array(
                array(
                    'label' => 'Invoice Customization',
                    'url' => array('modules/accounting/invoice'),
                    'visible' => true,
                    'active' => $this->action->id == 'invoice'
                ),  
				array(
					'label' => 'Payment Vouchers',
					'url' => array('modules/accounting/paymentVouchers'),
					'visible' => Yii::app()->user->checkModuleAccess('Propsage.Accounting.Commission'),
					'active' => $this->action->id == 'paymentVouchers'
				),     
                array(
                    'label' => 'Templates',
                    'url' => array('modules/accounting/templates'),
                    'visible' => true,
                    'active' => $this->action->id == 'templates'
                ),
                array(
                    'label' => 'Other Settings',
                    'url' => array('modules/accounting/setting'),
                    'visible' => true,
                    'active' => $this->action->id == 'setting'
                ),
            ),
            'encodeLabel' => false,
            'htmlOptions' => array(
                'class' => '',
            ),
        ));
        ?>
    </div>
</div>